<?php
/**
 * Created by PhpStorm.
 * User: a
 * Date: 2016/6/3
 * Time: 17:23
 */
namespace Admin\Controller\Admin;
use Think\Controller;

class UserController extends Controller{
    public function user_main(){
        $user=D("Userinfo");
        $user_array=$user->get_user_info();
        $json=json_encode($user_array);
        $this->assign('user_json',$json);
        $this->display();
//        $this->show($json);
    }

    public function user_add(){
        $this->display();
    }
}